package wsi.resolve;

import wsi.function.DirManager;

public class FunctionDefineTask extends ResolveController {

	private final FunctionDefiner definer;

	public FunctionDefineTask(DirManager dir) {
		super(dir);

		definer = new FunctionDefiner(dir, subtreeController, resolver,
				matchProperty);
	}

	@Override
	public void compute() {
		super.compute();

		definer.generate();
	}

	@Override
	public String save() {
		return definer.save();
	}

}
